package com.numbfish.ch03_ex04_module_a_stater.config;

import com.numbfish.ch03_ex04_module_a_stater.pojo.PersonFromModuleA;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OtherConfig {
    @Bean
    public PersonFromModuleA persona2(){
        return new PersonFromModuleA("刘备",43);
    }
}
